package com.uuj.dome.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * ClassName:IndexController
 * PACKAGE_NAME:com.uuj.dome.controller
 */
@Controller
public class IndexController {


    @RequestMapping(value = "/index")
    @ResponseBody
    public String index() {
        return "get index success";
    }

    @RequestMapping(value = "/main")
    public String main() {
        return "main";
    }

}
